From b7eba5d35ad704a5396f433d75c743f5df8d9334 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 12 Jun 2024 09:18:56 +0100 Subject: Garbage collect on allocation --- ...(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 7 ------- 1 file changed, 7 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 507385c8..5c5edca1 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -30,12 +30,6 @@ Compilation unit elements: params=((param "gc_root" int)) return-type=void ) -( - function-decl - "shed__runtime__gc_collect" - params=() - return-type=void -) ( function "shed__effectHandlerMethod__f__0" @@ -56,7 +50,6 @@ Compilation unit elements: (local-store (local "tmp__0") (int-const 0)) (call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0"))) (call _ "shed__runtime__gc_push_root" ((local "tmp__0"))) - (call _ "shed__runtime__gc_collect" ()) (call _ "shed__runtime__effects_set_handler" ((local "effectHandler__0"))) (resume (local "tmp__0")) ) -- cgit v1.2.3